<template>
  <div>
    <baidu-map style="width:600px;height:600px" :center="po" :zoom="10" @ready="ready">
      <bm-scale anchor="BMAP_ANCHOR_TOP_RIGHT"></bm-scale>
    </baidu-map>
  </div>
</template>
<script>
export default {
  data: function() {
    return {
      // po: { lng: 118.454, lat: 32.955 }
      po: "江苏省南京市"
    };
  },
  methods: {
    ready({BMap,map}) {
      console.log("success");
    }
  }
};
</script>